/** @file javaclass.h
 * Header file for javaclass lib.
 *
 * Copyright (C) 2007 
 *   Renan Mendes Carvalho <aitherios@gmail.com>
 *   Pedro Marinho <pedro7x@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * Responsible for handling: printing, reading; with .class.
 */
/** include guard */
#ifndef _JAVACLASS_H
#  define _JAVACLASS_H

#  include<stdio.h>
#  include<stdlib.h>
#  include<string.h>
#  include"simperr.h"
#  include"types.inc"

class_file * 
read_class_file (FILE * stream);

void
print_class_file (FILE * stream, class_file * cf);

void
print_method_info (FILE * stream, method_info * mi);

void
print_field_info (FILE* stream, field_info * fi); 

void 
print_attribute_info (FILE* stream, attribute_info * ai);

void
print_cp_info (FILE* stream, cp_info * ci);

/* _JAVACLASS_H */
#endif
